﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lz.HttpDemo
{
    class Program
    {
        static void Main(string[] args)
        {

            //调用接口
            var userId = 22;
            LzLazadaGroupService service = new LzLazadaGroupService();

            var groupListResult = service.GroupList(new Entity.Request.LzLazadaGroupListRequest()
            {
                User_Id = 22
            });

            Console.WriteLine("店铺组数据");
            groupListResult.ForEach(item =>
            {
                Console.WriteLine($"name: {item.name}");
            });


            var  taskListResults = service.TaskData(new Entity.Request.LzLazadaGroupListRequest()
            {
                User_Id = 22
            });

            Console.WriteLine("店铺数据");


        }
    }
}
